package com.example.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.model.Property;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;
@Mapper
public interface PropertyMapper extends BaseMapper<Property> {
    @Select("select * from tb_property where item_id = #{id}")
    List<Property> findById(Integer id);
}
